<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../style/bootstrap.min.css" />
		<script type="text/javascript" src="../scripts/jquery.js"></script>
		<script type="text/javascript" src="../scripts/bootstrap.min.js"></script>
	</head>

	<body>
		<div class="container">
			<form action="/Projects/auditItemSubmit" method="post">
				<input type="hidden" name="id" th:value="${p.id}">
				<div>
					<h4>基本信息</h4>
					<div class="row">
						<div class="col-xs-4 text-right">
							项目名称:<input type="text" th:value="${p.name}" readonly />
						</div>
						<div class="col-xs-offset-1 col-xs-4">
							项目类型:
                            <span th:if="${p.type==1}">公司类</span>
                            <span th:if="${p.type==2}">营业类</span>
						</div>
					</div>
                    <!--
					<div class="row">
						<div class="col-xs-4 text-right">
							被审计机构:<input type="text" th:value="${p.organization}" readonly/>
						</div>
						<div class="col-xs-4 text-right">
							具体被审计机构:<input type="text" th:value="${p.auditees}" readonly/>
						</div>
					</div>
					-->
					<div class="row">
						<div class="col-xs-4 text-right">
							审计时间起:<input type="text" th:value="${p.stime}" readonly/>
						</div>
						<div class="col-xs-offset-1 col-xs-4">
							审计时间止:<input type="text" th:value="${p.etime}" readonly/>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-xs-6">
						<h4>项目成员</h4>
						<table class="table table-striped table-hover table-condensed">
							<tr>
								<th>姓名</th>
								<th>角色</th>
								<th>人员资质</th>
							</tr>
							<tr th:each="us,ut:${u}">
								<td th:text="${us.name}"></td>
								<td th:text="${ut.index%2==0}?'主审':'助审'"></td>
								<td th:text="${us.userAptitude}">超人资质？</td>
							</tr>
						</table>
					</div>
					<div class="col-xs-6">
						<h4>任务分配</h4>
						<table class="table table-striped table-hover table-condensed">
							<tr>
								<th>姓名</th>
								<th>检查项</th>
							</tr>
							<tr th:each="ts:${t1}">
								<td th:text="${ts.user.name}"></td>
								<td th:text="${ts.taskocation.auditname}">xx检查项</td>
							</tr>
						</table>
					</div>
				</div>
				<div class="text-center">
					<span class="bottom-left" style="vertical-align: top;">补充说明：</span>
					<textarea style="resize:none;" cols="50" rows="3" maxlength="100">
						
					</textarea>
				</div>
				<div class="text-center">
					<input type="submit" name="" value="保存" />
					<input type="submit" name="" value="提交审核" />
				</div>
			</form>
		</div>
	</body>

</html>